Image Editing (Local Diffusion / GGUF)
Annolid can generate or edit images using:
Diffusers (Python): e.g.
Qwen/Qwen-Image-2512stable-diffusion.cpp (
sd-cli): e.g. GGUF models likeunsloth/Qwen-Image-2512-GGUF
Install (Diffusers)
pip install -U "annolid[image_editing]"
CLI examples
Diffusers (text-to-image)
annolid-run predict image-edit \
--backend diffusers \
--model-id Qwen/Qwen-Image-2512 \
--prompt "cartoon sloth wearing a lab coat" \
--width 1024 --height 1024 \
--output qwen.png
stable-diffusion.cpp (GGUF preset)
Build or download
stable-diffusion.cppand locate thesd-clibinary.Run with the built-in preset (downloads weights from Hugging Face on first run):
annolid-run predict image-edit \
--backend sdcpp \
--sd-cli /path/to/sd-cli \
--preset qwen-image-2512-gguf \
--quant Q2_K \
--prompt "cartoon sloth" \
--width 1024 --height 1024 \
--output qwen_gguf.png
Notes:
--preset/--quantare Annolid options (they are not valid flags forsd-cliitself).Q2_Kis the repo naming; Annolid also acceptsQ2-Kand normalizes it toQ2_K.On macOS Metal builds, if you see
unsupported op 'DIAG_MASK_INF', update/rebuildstable-diffusion.cpp(or build a CPU-onlysd-cliwith Metal disabled, e.g.cmake -B build-cpu -DGGML_METAL=OFF).
GUI
Open File → Image Editing… (or the toolbar button), choose a backend, enter a prompt, and click Run.